package com.jsmtr.rms.service;

import java.util.List;
import java.util.Map;

import com.jsmtr.rms.entity.*;

public interface IBaseExaminerService {

    /**
     * 获得考官组
     *
     * @return List<BaseExaminerGroup>
     * @throws Exception
     */
    List<BaseExaminerGroup> getGroups() throws Exception;

    /**
     * 获得考官组
     *
     * @return BaseExaminerGroup
     * @throws Exception
     */
    BaseExaminerGroup getGroup(String id) throws Exception;


    /**
     * 获得考官信息
     *
     * @param groupid 考官组ID
     * @return List<BaseExaminer>
     * @throws Exception
     */
    List<BaseExaminer> getBaseExaminers(String groupid) throws Exception;

    /**
     * 获得考官信息
     *
     * @param page    当前页
     * @param perpage 每页显示数
     * @param group   考官组
     * @return Map
     * @throws Exception
     */
    Map<String, Object> getBaseExaminers(int page, int perpage, BaseExaminerGroup group) throws Exception;

    /**
     * 获得后台用户信息
     *
     * @param page    当前页
     * @param perpage 每页显示数
     * @param key     关键字
     * @return Map
     * @throws Exception
     */
    Map<String, Object> getUsers(int page, int perpage, String key) throws Exception;
}
